using System.Collections.Generic;
using KamLib;

namespace Ext.Net.UIS
{
    public class DisplayFieldEditor : TermEditor
    {
        public static DisplayFieldEditor Default = new DisplayFieldEditor();
        public override IEnumerable<AbstractComponent> NewControls(TermNode node, UisCreateControlArgs e)
        {
            yield return new DisplayField { Text = node.Title };
        }
    }
}